package router

import (
	"github.com/gin-gonic/gin"
	"userop_bff/controller/message"
)

func InitMessageRouter(router *gin.Engine) {

	OrderRouter := router.Group("/v1/message")
	{
		OrderRouter.GET("", message.List) //批量获取留言信息
		OrderRouter.POST("", message.Add) //添加留言
	}
}
